package com.tqfframe.task.learning.annotations;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.lang.reflect.Method;

/**
 * Created by Tang-QiFeng on 2020/7/18
 */
public class JobHandlerEntry {

    private Object bean;
    private Method method;

    public JobHandlerEntry(Object bean, Method method) {
        this.bean = bean;
        this.method = method;
    }

    public Object getBean() {
        return bean;
    }

    public Method getMethod() {
        return method;
    }

}
